package com.cn.kehong.api;

import com.cn.kehong.domain.ProductSaojieJob;
import com.cn.kehong.domain.ProductSaojiePeriod;
import com.cn.kehong.utils.QueryForm;

import java.util.List;

public interface IProductSaojiePeriodService {

    List<ProductSaojiePeriod> getProductSaojiePeriodList(QueryForm queryForm)throws Exception;
    List<ProductSaojiePeriod> getProductSaojiePeriodsByStatus()throws Exception;

    List<ProductSaojieJob> getProductSaojieJobList(QueryForm queryForm)throws Exception;

    List<ProductSaojieJob> getProductSaojieJobsById(String saojieId)throws Exception;

    List<ProductSaojiePeriod> getGzToSaojiePeriodDatas(String factoryName)throws Exception;

    String addProductSaojiePeriod(String peiId,String productCode,String factoryName,String startCode)throws Exception;

    String updateBatchProductSaojiePeriod(List<ProductSaojiePeriod> productSaojiePeriods)throws Exception;

    String updateBatchProductSaojieJob(ProductSaojiePeriod productSaojiePeriod)throws Exception;

    String updateBatchProductSaojieJobByRedis(List<ProductSaojieJob> productSaojieJobs)throws Exception;

    String updateGzPeriodEnterYaolu(ProductSaojiePeriod productSaojiePeriod)throws Exception;

    List<ProductSaojieJob> getProductSaojieJobBackList(QueryForm queryForm)throws Exception;
}
